From 6077cefe64454a0d3e5a12f115e48265f83d592d Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 15 Jan 2003 17:05:46 +0000 Subject: [PATCH] Toss non-ascii chars when creating shortnames. --- gpsbabel/mkshort.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gpsbabel/mkshort.c b/gpsbabel/mkshort.c index a551750d4..e586af236 100644 --- a/gpsbabel/mkshort.c +++ b/gpsbabel/mkshort.c @@ -144,12 +144,13 @@ mkshort(const char *istring) /* * Eliminate chars on the blacklist. + * Characters that aren't ASCII are never OK. */ tstring = xstrdup(ostring); l = strlen (tstring); cp = ostring; for (i=0;i